package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.ShouldGathPayList.GatheringDetail;

public class ShouldGatherPayDetailActivity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {
    GatheringDetail payDetail = (GatheringDetail) getIntent().getSerializableExtra(
        ShouldGatherPayDetailFragment.EXTRA_PAY_VALUE);
    GatheringDetail gatherDetail = (GatheringDetail) getIntent().getSerializableExtra(
        ShouldGatherPayDetailFragment.EXTRA_GATHER_VALUE);
    String type = getIntent().getStringExtra(ShouldGatherPayDetailFragment.EXTRA_TYPE);
    return ShouldGatherPayDetailFragment.newInstance(payDetail, gatherDetail, type);
  }
}
